package org.mogu.staticvalue;


import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import org.mogu.tools.UrlSync;

import android.os.Environment;

public class Convert {
//	public static final String hosturl="http://192.168.1.100:8089"; 
//	public static final String hosturl="http://www.mmggoo.com"; 
	public static final String hosturl="http://blog1.zxxsbook.com"; 
	public static final String DATABASE_NAME="mogudb"; 
	public static final int DATABASE_VERSON=4; //3没有图库。下一版是4，需要考虑数据库的兼容。
	public static final String APP_VERSON="1.1"; 
	
	public static String picPath   = Environment.getExternalStorageDirectory()+"/Info/Picture/";
	public static String infPath   = Environment.getExternalStorageDirectory()+"/Info/";
	public static String picLog="pic.txt";

	public static final String testNum="&verson="+APP_VERSON;//以后改为版本号
	
	public static String uname=null;
	public static String upwd=null;
	
	public static List<UrlSync> syncList=Collections.synchronizedList(new LinkedList<UrlSync>());
	
	public static Map<String, ArrayList<String>> appMap=new HashMap<String, ArrayList<String>>();//应用与url
	public static Map<String, String> userAappMap = new HashMap<String, String>();//应用与参数
	public static Map<String, Long> userAppTimeSpanMap = new HashMap<String, Long>();//应用与参数
	
	public static String appparam="";
	public static DateFormat format1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

	
	public static boolean urlfail=false;
	
	public static long failTimeSpan=1200;
	
	public static long timeSpan=90;
	
	public static long picTimeSpan=60;
	
	public static int flag=1;

	
}
